import Cinemas from "../pages/cinemas/cinemas.js";
import addCinemas from "../pages/cinemas/addCinemas.js";
import Imgs from "../pages/cinemas/cinimgs.js";
import update from "../pages/cinemas/updatecinemas.js";
import searchcinemas from "../pages/cinemas/searchCinemas.js";
export default {
    "/cinemas": {
        on() {
            new Cinemas({ el: ".movies-container" })
        },
    },
    "/addcinemas": {
        on() {
            new addCinemas({ el: ".movies-container" })
        },
    },
    "/updatecinemas/:_id": {
        on(_id) {
            new update({ el: ".movies-container", _id })
        },
    },
    "/cinimgs/:_id": {
        on(_id) {
            new Imgs({ el: ".movies-container", _id })
        },
    },
    "/searchcinemas": {
        on() {
            new searchcinemas({ el: ".movies-container" })
        },
    },
}